#ifndef _TIANZI_
#define _TIANZI_
#include "HardwareInfo.c"
#include "delayLineGo.c"
#include "TurnFun.c"
#include <SetTenthS.h>
#include "pulesline.c"

void tianzi(int tianzige, double k)
{
    if ( tianzige==1 )
    {
        delayLineGo(17, 3, k);
        TurnFun(-57, 25, 3, 30, 1);
        SetTenthS(1);
        pulesline(220, k, 0);
    }
    else
    {
        if ( tianzige==2 )
        {
            delayLineGo(17, 3, k);
            pulesline(80, k, 0);
        }
        else
        {
            if ( tianzige==3 )
            {
                delayLineGo(17, 3, k);
                TurnFun(25, -57, 5, 30, 3);
                SetTenthS(1);
                pulesline(220, k, 0);
            }
        }
    }
}
#endif

